package com.example.xxljobaiassistant.assistant;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(
        wiringMode = EXPLICIT,
        chatModel = "qwenChatModel"
)
public interface SimpleAiAssistant {
    
    @SystemMessage("你是XXL-JOB智能助手，专门帮助用户了解和操作XXL-JOB分布式任务调度平台。请只回答与XXL-JOB相关的问题。")
    String chat(@UserMessage String message);
}